differentiation of functions in parametric form